# -*- coding: utf-8 -*-
import requests
import zipfile

url = 'https://gitee.com/czyt1988/gr_private_goods_check/repository/archive/master.zip'
r = requests.get(url)
with open("gr_private_goods_check.zip", "wb") as code:
    code.write(r.content)

f = zipfile.ZipFile("gr_private_goods_check.zip",'r')
for file in f.namelist():
    f.extract(file, "./")